package com.xbongbong.pro.invoice.pojo;

import com.xbongbong.saas.domain.entity.InvoiceRelationshipEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * 发票作废或还原的pojo
 *
 * @author yuqian
 * @version v1.0
 * @date 2019/11/18 14:02
 * @since v1.0
 */

@Getter
@Setter
@ToString
public class InvoiceCancelOrRestorePojo {

  /**
   * 合同idlist
   */
  private List<Long> contractIdList;
  /**
   * 应收款idList
   */
  private List<Long> paymentIdList;
  /**
   * 回款单idList
   */
  private List<Long> paymentSheetIdList;
  /**
   * 合同的开票map
   */
  private Map<Long,Double> contractMap;
  /**
   * 应收款开票map
   */
  private Map<Long, Double> paymentRefMap;
  /**
   * 回款单开票map
   */
  private Map<Long, Double> paymentSheetRefMap;

  public InvoiceCancelOrRestorePojo() {
  }

  public InvoiceCancelOrRestorePojo(List<Long> contractIdList, List<Long> paymentIdList, List<Long> paymentSheetIdList, Map<Long, Double> contractMap, Map<Long, Double> paymentRefMap, Map<Long, Double> paymentSheetRefMap) {
    this.contractIdList = contractIdList;
    this.paymentIdList = paymentIdList;
    this.paymentSheetIdList = paymentSheetIdList;
    this.contractMap = contractMap;
    this.paymentRefMap = paymentRefMap;
    this.paymentSheetRefMap = paymentSheetRefMap;
  }
}
